package com.bw.service.impl;

import com.bw.entity.Power;
import com.bw.mapper.ZtreeMapper;
import com.bw.service.ZtreeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ZtreeServiceImpl implements ZtreeService {

    @Autowired
    private ZtreeMapper ztreeMapper;

    @Override
    public List<Power> findPoweList(Map map) {
        List<Power> plist = ztreeMapper.findPowerList(map);
        return plist;
    }
}
